package com.leen.video.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.io.Serializable;

/**

 *
 * @author yy
 * @since 2021-05-19
 */
@Getter
@Setter
@Entity
@ApiModel(value="QiniuConfig对象")
@Table(name = "qiniu_config")
public class QiniuConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    @Column(name = "id")
    private Long id;

    @ApiModelProperty(value = "accessKey")
    @Column(name = "access_key")
    private String accessKey;

    @ApiModelProperty(value = "Bucket 识别符")
    @Column(name = "bucket")
    private String bucket;

    @ApiModelProperty(value = "外链域名")
    @Column(name = "host")
    private String host;

    @ApiModelProperty(value = "secretKey")
    @Column(name = "secret_key")
    private String secretKey;

    @ApiModelProperty(value = "空间类型")
    @Column(name = "type")
    private String type;

    @ApiModelProperty(value = "机房")
    @Column(name = "zone")
    private String zone;


}
